home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7655 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: fohnix.metronet.com!not-for-mail
  2. From: milam@fohnix.metronet.com (Stan Milam)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Tradition or what?
  5. Date: 27 Feb 1996 19:32:40 -0600
  6. Organization: Texas Metronet, Inc  (login info (214/488-2590 - 817/571-0400))
  7. Message-ID: <4h0bbo$c0q@fohnix.metronet.com>
  8. References: <4g0elg$mdr@redstone.interpath.net>
  9. NNTP-Posting-Host: fohnix.metronet.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Scott McMahan - Softbase Systems (softbase@mercury.interpath.net) wrote:
  13. : Erik van Renselaar writes:
  14.  
  15. : : Can anyone tell me what the use is of returning
  16. : : the same value for the function and one of the
  17. : : output parameters, like it is done in strcpy?
  18.  
  19. : Steve Maguire discusses this issue in Writing Solid Code.  The
  20. : randomness with which the C library's parameters and return code
  21. : (0=success AND failure depending on the function!) conventions happened
  22. : are bad because they influence people who look upon them as models.
  23. : Reading Writing Solid Code is almost mandatory.
  24.  
  25. : Scott
  26.  
  27. Oh please!  After reading this book I no longer wonder why Microsoft Word
  28. for Windows GPFs when opening a document that was saved only and hour before.
  29. McGuire would have us all rewriting standard library functions putting inane
  30. assertions in them.  Never mind that he frequently violates Standard C
  31. in his holy quest to find bugs.  I would fire him after 5 minutes!
  32.